package com.example.sps.pojo.dto;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @ProjectName: Sps
 * @Titile: SmProductQueryDTO
 * @Author: nency
 * @Description: TODO
 */
@Data
public class SmProductQueryDTO {
    private Integer page;
    private Integer pageSize;
    private String keyword;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;
    private Float lowPrice;
    private Float highPrice;
    private Integer status;
    private Integer classId;
}
